const parseRTF = require('rtf-parser')
const fs = require('fs')

const parser = parseRTF((err, doc) => {
  console.log(doc);
});
fs.createReadStream('./public/aaaaa.rtf').pipe(parser)

// parseRTF.string('{\\rtf1\\ansi\\b hi there\\b0}', (err, doc) => {
//   console.log(doc);
// })
